FILE: OCB:TOS HEWLETT-PACKARD: OCB (c) Coleco 1982 Confidential Tue, 15 May 1984, 20:30 Page 1 1 ;^Z80^ 3 ;NAME ^Rev 0 - DTT^ 4 5 DESCR_OCB MACRO 6 .GOTO ENDESCR_OCB 7 8 Author: DTT 9 Project: WAFER, A132 10 Starting date:25mar83 11 12 ****************************** 13 * OCB DTT * 14 ****************************** 15 16 Rev. Date Name Change 17 1 18 2 25mar83 DTT Initial Pseudo code 19 20 NAME: OCB (OVERLAY CONTROL BLOCK TABLE) 21 THE OCB DESCRIBED BELOW IS AN EXAMPLE ONLY AND DOES NOT DESCRIBE 22 ANY GAME. I AM SHOWING A MAIN PROGRAM STARTING AT 8000H. 23 THE BACKUP COPY OF THE COLD START LOADER ALSO GETS LOADED AT 8000H. 24 THERE ARE 10 OVERLAYS DESCRIBED IN THIS OCT. THE LAST TWO ARE 25 SPARE. TWO DESCRIBE VANITY SCREEN AND DATA 26 27 ENDESCR_OCB: 28 MEND 29 30 ;EXTERNAL DATA AREAS USED: 31 ; EXT 32 33 ;GLOBAL DATA AREAS USED: 34 GLOBAL OCB 35 EXT OCB_PTR 36 37 ;LOCAL EQUATES 38 39 ;GLOBAL EQUATES 40 41 ;----------------------------------------------------------------------- 42 OCB MACRO LP1,LP2,LP3 ;LOAD ADDRESS,BLOCK NUMBER,NUMBER OF BLOCKS 43 ;* REV 0 DTT. 7/12/83 coded and tested 44 DEFW LP1 ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 45 DEFW LP2 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 46 DEFB LP3 ;NUMBER OF BLOCKS TO TRANSFER 47 MEND 48 49 ;------------------------------------------------------------------------- 50 PROG 51 52 0000' OCB: 53 0000' OCB 08000H,1,16 ;MAIN PROGRAM 54 A ;* REV 0 DTT. 7/12/83 coded and tested 55 0000' 0080 A DEFW 08000H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 56 0002' 0100 A DEFW 1 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY FILE: OCB:TOS HEWLETT-PACKARD: OCB (c) Coleco 1982 Confidential Tue, 15 May 1984, 20:30 Page 2 57 0004' 10 A DEFB 16 ;NUMBER OF BLOCKS TO TRANSFER 58 0005' OCB 08000H,1+16,16 ;BACKUP MAIN PROGRAM 59 A ;* REV 0 DTT. 7/12/83 coded and tested 60 0005' 0080 A DEFW 08000H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 61 0007' 1100 A DEFW 1+16 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 62 0009' 10 A DEFB 16 ;NUMBER OF BLOCKS TO TRANSFER 63 000A' OCB 02400H,1+16+16,7 ;OVERLAY 3 64 A ;* REV 0 DTT. 7/12/83 coded and tested 65 000A' 0024 A DEFW 02400H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 66 000C' 2100 A DEFW 1+16+16 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 67 000E' 07 A DEFB 7 ;NUMBER OF BLOCKS TO TRANSFER 68 000F' OCB 0C000H,1+16+16+7,8 ;OVERLAY 4 69 A ;* REV 0 DTT. 7/12/83 coded and tested 70 000F' 00C0 A DEFW 0C000H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 71 0011' 2800 A DEFW 1+16+16+7 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 72 0013' 08 A DEFB 8 ;NUMBER OF BLOCKS TO TRANSFER 73 0014' OCB 02400H,1+16+16+7+8,6 ;OVERLAY 5 74 A ;* REV 0 DTT. 7/12/83 coded and tested 75 0014' 0024 A DEFW 02400H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 76 0016' 3000 A DEFW 1+16+16+7+8 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 77 0018' 06 A DEFB 6 ;NUMBER OF BLOCKS TO TRANSFER 78 0019' OCB 0C000H,1+16+16+7+8+6,8 ;OVERLAY 6 79 A ;* REV 0 DTT. 7/12/83 coded and tested 80 0019' 00C0 A DEFW 0C000H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 81 001B' 3600 A DEFW 1+16+16+7+8+6 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 82 001D' 08 A DEFB 8 ;NUMBER OF BLOCKS TO TRANSFER 83 001E' OCB 02400H,1+16+16+7+8+6+8,6 ;OVERLAY 7 84 A ;* REV 0 DTT. 7/12/83 coded and tested 85 001E' 0024 A DEFW 02400H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 86 0020' 3E00 A DEFW 1+16+16+7+8+6+8 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 87 0022' 06 A DEFB 6 ;NUMBER OF BLOCKS TO TRANSFER 88 0023' OCB 0C000H,1+16+16+7+8+6+8+6,6 ;OVERLAY 8 89 A ;* REV 0 DTT. 7/12/83 coded and tested 90 0023' 00C0 A DEFW 0C000H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 91 0025' 4400 A DEFW 1+16+16+7+8+6+8+6 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 92 0027' 06 A DEFB 6 ;NUMBER OF BLOCKS TO TRANSFER 93 0028' OCB 02400H,1+16+16+7+8+6+8+6+6,4 ;OVERLAY 9 94 A ;* REV 0 DTT. 7/12/83 coded and tested 95 0028' 0024 A DEFW 02400H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 96 002A' 4A00 A DEFW 1+16+16+7+8+6+8+6+6 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 97 002C' 04 A DEFB 4 ;NUMBER OF BLOCKS TO TRANSFER 98 002D' OCB 07C00H,128+1,1 ;REWIND (NEVER ACTUAL EXECUTABLE CODE) 99 A ;* REV 0 DTT. 7/12/83 coded and tested 100 002D' 007C A DEFW 07C00H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 101 002F' 8100 A DEFW 128+1 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 102 0031' 01 A DEFB 1 ;NUMBER OF BLOCKS TO TRANSFER 103 0032' OCB 0C000H,128+1+13,14 ;OVERLAY 11 104 A ;* REV 0 DTT. 7/12/83 coded and tested 105 0032' 00C0 A DEFW 0C000H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 106 0034' 8E00 A DEFW 128+1+13 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 107 0036' 0E A DEFB 14 ;NUMBER OF BLOCKS TO TRANSFER 108 0037' OCB 02400H,128+1+13+14,7 ;OVERLAY 12 109 A ;* REV 0 DTT. 7/12/83 coded and tested 110 0037' 0024 A DEFW 02400H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 111 0039' 9C00 A DEFW 128+1+13+14 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 112 003B' 07 A DEFB 7 ;NUMBER OF BLOCKS TO TRANSFER 113 003C' OCB 0C000H,128+1+13+14+7,1 ;OVERLAY 13 FILE: OCB:TOS HEWLETT-PACKARD: OCB (c) Coleco 1982 Confidential Tue, 15 May 1984, 20:30 Page 3 114 A ;* REV 0 DTT. 7/12/83 coded and tested 115 003C' 00C0 A DEFW 0C000H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 116 003E' A300 A DEFW 128+1+13+14+7 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 117 0040' 01 A DEFB 1 ;NUMBER OF BLOCKS TO TRANSFER 118 0041' OCB 03000H,128+1,10 ;OVERLAY 14 VANITY SCREEN 119 A ;* REV 0 DTT. 7/12/83 coded and tested 120 0041' 0030 A DEFW 03000H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 121 0043' 8100 A DEFW 128+1 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 122 0045' 0A A DEFB 10 ;NUMBER OF BLOCKS TO TRANSFER 123 0046' OCB 05800H,128+13,1 ;OVERLAY 15 VANITY DATA OVERLAY 124 A ;* REV 0 DTT. 7/12/83 coded and tested 125 0046' 0058 A DEFW 05800H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 126 0048' 8D00 A DEFW 128+13 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 127 004A' 01 A DEFB 1 ;NUMBER OF BLOCKS TO TRANSFER 128 004B' OCB 0C000H,128+1+13+14+7+1,6 ;OVERLAY 16 129 A ;* REV 0 DTT. 7/12/83 coded and tested 130 004B' 00C0 A DEFW 0C000H ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 131 004D' A400 A DEFW 128+1+13+14+7+1 ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 132 004F' 06 A DEFB 6 ;NUMBER OF BLOCKS TO TRANSFER 133 0050' OCB 0FFFFH,0FFFFH,0FFH ;SPARE 134 A ;* REV 0 DTT. 7/12/83 coded and tested 135 0050' FFFF A DEFW 0FFFFH ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 136 0052' FFFF A DEFW 0FFFFH ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 137 0054' FF A DEFB 0FFH ;NUMBER OF BLOCKS TO TRANSFER 138 0055' OCB 0FFFFH,0FFFFH,0FFH ;SPARE 139 A ;* REV 0 DTT. 7/12/83 coded and tested 140 0055' FFFF A DEFW 0FFFFH ;TRANSFER ADDRESS OF THE OVERLAY (WHERE DOES IT GET LOADED IN RAM) 141 0057' FFFF A DEFW 0FFFFH ;BLOCK NUMBER OF THE FIRST BLOCK IN THE OVERLAY 142 0059' FF A DEFB 0FFH ;NUMBER OF BLOCKS TO TRANSFER 143 005A' FF DEFB 0FFH ;DEFINES THE TERMINATOR 0 Error(s) Detected. 91 Program Bytes. 2 Symbols Detected. FILE: OCB:TOS HEWLETT-PACKARD: OCB (c) Coleco 1982 Confidential Tue, 15 May 1984, 20:30 Page 4 Value Symbol Defined Referenced: 0000' OCB 52 34 0000# OCB_PTR 35